package cn.edu.sjtu.se.dslab.service;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.data.DataAttribute;
import cn.edu.sjtu.se.dslab.component.data.DataEntity;

public interface IDataAttributeService {
	public boolean addDataAttribute(DataAttribute attribute);

	public boolean updateDataAttribute(DataAttribute attribute);

	public DataAttribute getDataAttributeById(long id);

	public List<DataAttribute> getDataAttributeByDataEntity(DataEntity entity);
}
